<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2022 http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------
/* @var \think\Route $router */
$router->group(function () use ($router) {
    // visitPlan 路由
    $router->resource('visitPlan', \catchAdmin\visitPlan\controller\VisitPlan::class);
    // visitPlanDetail 路由
    $router->resource('visitPlanDetail', catchAdmin\visitPlan\controller\VisitPlanDetail::class);
    $router->post("deleteById", '\catchAdmin\visitPlan\controller\VisitPlanDetail@deleteById');
    $router->any("VisitCount", '\catchAdmin\visitPlan\controller\VisitPlanDetail@getVisitPlanCount');
    $router->any("PatientVisitPlan", '\catchAdmin\visitPlan\controller\VisitPlanDetail@patientVisitPlan');
    $router->get("VisitPlanDetailById/:id", '\catchAdmin\visitPlan\controller\VisitPlanDetail@getVisitPlanDetailById');
})->middleware('auth');